projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ab70d
)
revealer: Explain CSS oddities
author
Timm Bäder
<mail@baedert.org>
Tue, 11 Jul 2017 10:33:49 +0000
(12:33 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:16 +0000
(21:27 -0400)
gtk/gtkrevealer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrevealer.c
b/gtk/gtkrevealer.c
index 828453b8559fff064e3965df9e21c94d6ae28018..05a4132ab2ec837a86622777b3e400006c3ee062 100644
(file)
--- a/
gtk/gtkrevealer.c
+++ b/
gtk/gtkrevealer.c
@@
-52,6
+52,9
@@
* # CSS nodes
*
* GtkRevealer has a single CSS node with name revealer.
+ * When styling #GtkRevealer using CSS, remember that it only hides its contents,
+ * not itself. That means applied margin, padding and borders will be
+ * visible even when the #GtkRevealer:reveal-child property is set to %FALSE.
*
* The GtkRevealer widget was added in GTK+ 3.10.
*/